#ifndef TEST_DATA_H
#define TEST_DATA_H

#include <string>
#include <sstream>
using namespace std;

struct Supplier
{
    int supp_key;
    string name;
    string address;
    int nation_key;
    string phone;
    float acct_bal;
    string comment;
};

struct Customer
{
    int cust_key;
    string name;
    string address;
    int nation_key;
    string phone;
    float acct_bal;
    string mktsegment;
    string comment;
};

struct Nation
{
    int nation_key;
    string name;
    int region_key;
    string comment;
    string toString()
    {
        stringstream nk;
        nk << nation_key;
        stringstream rk;
        rk << region_key;

        return nk.str() + " " + name + " " + rk.str() + " " + comment;
    }
};

struct Region
{
    int region_key;
    string name;
    string comment;

    string toString()
    {
        stringstream rk;
        rk<<region_key;

        return rk.str() + " " + name + " " + comment;
    }
};

#endif // TEST_DATA_H
